/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-03-04
*/
package com.rzico.basics.entity;

import lombok.Data;

import java.util.Collections;
import java.util.Date;
import java.util.List;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * <pre>
 *   设计器数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_navigation")
public class Navigation {

    @Id
    @ApiModelProperty(value = "")
    protected Long id;

    @ApiModelProperty(value = "创建日期")
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期")
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "序号")
    protected Integer orders;

    @ApiModelProperty(value = "图标")
    protected String logo;

    @ApiModelProperty(value = "名称")
    protected String name;

    @ApiModelProperty(value = "链接类型(0.文章分类,1.商品分类,2.专题页面,3.商品详情,4.店铺首页,5.景点详情,6.文章详情,18.品牌专栏,12.外部链接)")
    protected Integer type;

    @ApiModelProperty(value = "数据源ID")
    protected Long typeId;

    @ApiModelProperty(value = "数据源中文名")
    protected String typeName;

    @ApiModelProperty(value = "归属企业")
    protected Long enterpriseId;

    @ApiModelProperty(value = "路径")
    protected String url;


    protected List<Tag> tags = Collections.emptyList();


}